using System.Collections.Generic;
using Newtonsoft.Json;
using UnityEngine;
public class UnityReceiver : MonoBehaviour
{
    public void showSelfRewardAdSuccess(string message)
    {
        Tools.Log("MyAds 播放成功", message);
        GlobalEventManager.EmitEvent("AdsPlaybackCompleted");
        //关闭蒙版
        Tools.HideAdsPanel();
        //接int
        AdsManager.Instance.ShowInterstitialAd();
    }
    public void showSelfRewardAdFailed(string message)
    {
        Tools.Log("MyAds 播放失败", message);
        Tools.ShowTipToast("Ad is not ready");
        //关闭蒙版
        Tools.HideAdsPanel();
    }
    public void showSelfIntAdFailed(string message)
    {
        Tools.Log("MyAds 插屏播放失败", message);
        Tools.ShowTipToast("Ad is not ready");
        //关闭蒙版
        Tools.HideAdsPanel();
    }
    public void showSelfIntAdSuccess(string message)
    {
        Tools.Log("MyAds 插屏播放成功", message);
        //关闭蒙版
        Tools.HideAdsPanel();
    }

}
